package com.spatio.serving.basic.service.template.common.req;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatReq {
    @NotEmpty(message = "question_text cant be empty")
    @JsonProperty("question_text")
    private String questionText;

    @NotEmpty(message = "question_text cant be empty")
    @JsonProperty("use_id")
    private String use;

    @JsonProperty("conversation_id")
    private String conversationId;

}
